home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / tex-k / tex-k-archive.past / tex-k-archive.gz / tex-k-archive / 000452_queinnec@cenatls.cena.dgac.fr_Sat Apr 2 18:29:28 1994.msg < prev    next >
Internet Message Format  |  1994-10-11  |  2KB

  1. Received: from geant.cenatls.cena.dgac.fr by cs.umb.edu with SMTP id AA27894
  2.   (5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Sat, 2 Apr 1994 16:11:44 -0500
  3. Received: from gogol.cenatls.cena.dgac.fr by geant.cenatls.cena.dgac.fr (4.1/SMI-4.1)
  4.     id AA06845; Sat, 2 Apr 94 16:29:28 +0200
  5. Date: Sat, 2 Apr 94 16:29:28 +0200
  6. From: queinnec@cenatls.cena.dgac.fr (Philippe QUEINNEC)
  7. Message-Id: <9404021429.AA06845@geant.cenatls.cena.dgac.fr>
  8. Received: by gogol.cenatls.cena.dgac.fr (4.1/SMI-4.1)
  9.     id AA04059; Sat, 2 Apr 94 16:29:27 +0200
  10. To: tex-k@cs.umb.edu
  11. Subject: xdvik 1.7: bug in epsf.c and xgetcwd.c
  12.  
  13. Hi,
  14. I've notice two bugs in xdvik 1.7.
  15.  
  16. 1) In epsf.c, kpse_init_path is called without a trailing NULL, which causes
  17.    a problem if the environment variable held by DEFAULT_FIG_PATH (by
  18.    default: "TEXINPUTS") is undefined.
  19.    Here is the patch:
  20.  
  21. --- epsf.c.old    Sat Apr  2 15:45:21 1994
  22. +++ epsf.c    Sat Apr  2 15:44:20 1994
  23. @@ -244,7 +244,7 @@
  24.  
  25.    /* Build it and they will come. */
  26.    name = kpse_path_search (kpse_init_path (NULL, DEFAULT_FIG_PATH,
  27. -                                           KPSE_TEX_ENVS),
  28. +                                           KPSE_TEX_ENVS, NULL),
  29.                             psfname);
  30.    if (!name) {
  31.      Moan("Cannot open %s.", psfname);
  32.  
  33. 2) xgetcwd.c cannot compile if HAVE_GETWD is defined because PATH_MAX is
  34.    undefined. I have just added at the top of xgetcwd.c:
  35.  
  36. #ifdef HAVE_GETWD
  37. #include <kpathsea/c-pathmx.h>
  38. #endif
  39.  
  40. (xdvik was compiled with gcc 2.5.8 on SunOS 4.1.3)
  41.  
  42. If you want to add some comments, request more information or flame me,
  43. please note that I am *not* on the tex-k mailing list.
  44.  
  45. Phil